Skip to content

Conversation

@langestefan
Copy link
Member

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds comprehensive benchmarking infrastructure to SolarPosition.jl using BenchmarkTools and AirspeedVelocity.jl. The benchmarks cover single and vectorized solar position calculations across all algorithms, as well as refraction models.

Key changes:

  • New benchmark suite testing all solar position algorithms (PSA, NOAA, Walraven, USNO, SPA) and refraction models
  • GitHub Actions workflow for automated PR benchmarking
  • Benchmark project workspace integration

Reviewed changes

Copilot reviewed 3 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
benchmark/benchmarks.jl Implements comprehensive benchmark suite for solar position algorithms with single and vectorized tests
benchmark/Project.toml Defines benchmark dependencies (BenchmarkTools, Dates, SolarPosition)
Project.toml Adds "benchmark" and "examples" to workspace projects
.gitignore Adds patterns to ignore benchmark output files (JSON and temporary files)
.github/workflows/BenchmarkPRTarget.yml Creates automated PR benchmark workflow using AirspeedVelocity.jl action

@langestefan langestefan merged commit e612b5a into main Dec 4, 2025
20 checks passed
@codecov
Copy link

codecov bot commented Dec 4, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.02%. Comparing base (6115f3c) to head (e3e95f3).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #30   +/-   ##
=======================================
  Coverage   99.02%   99.02%           
=======================================
  Files          15       15           
  Lines         511      511           
=======================================
  Hits          506      506           
  Misses          5        5           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@langestefan langestefan deleted the benchmark branch December 4, 2025 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant